use std::collections::BTreeMap;

use super::*;

#[derive(Debug, Default, Clone)]
pub struct Groups {
	pub groups: BTreeMap<String, Vec<String>>,
}
impl Groups {
	pub fn parse(r: &mut Parser<'_, '_, '_>) -> Result<Self, Error> {
		Ok(Self { groups: r.read()? })
	}
}
